package com.itheima.d5_polymorphic.demo3;

public class Dog extends Animal {
    @Override
    public void eat() {
        System.out.println("狗吃肉");
    }

    //狗类特有功能：狗看家
    public void lookHome() {
        System.out.println("狗看家");
    }
}
